var sample = sample || {};

sample.TalentProfile = function() {
	var self = this;

	function drawMboScoreRing() {
		$(".employee-mbo-score-svg").html("");
		sample.chartUtil.drawRing(".employee-mbo-score-svg", 75, 90,
				[ 0.8, 0.2 ], [ "#175d9f", "#a2bed9" ]);
		var html = "<div style=\"position: absolute;width:100%;text-align:center;top:40px\">"
				+ "<div class=\"employee-mbo-score\" style=\"font-size:54px\">B</div>"
				+ "<div style=\"margin-top:-10px\" class='text-light'>Final Score</div>"
				+ "</div>";
		$(".employee-mbo-score-svg").append(html);
	}

	sample.TalentProfile.prototype.run = function() {
		drawMboScoreRing();
	};

};

(function($) {
	$(document).ready(function() {
		var app = new sample.TalentProfile();
		app.run();
	});

}(jQuery));